Skip to content

fix(roadmap): give each eval verify run its own report file - #4534

Merged
dan-petty merged 3 commits into
mainfrom
fix/4488-parallel-eval-verify-runs-share-one
Nov 11, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/4488-parallel-eval-verify-runs-share-one

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Two devops roadmap eval verify runs that started in the same second named one report file, because the name was a time stamp of one second. Each atomic write of one run replaced the cases of the other run, with no warning.

A run without --resume now gets its report file from create_store_file in src/devops_cli/core/repo.py. The helper creates the store folder, and tempfile.mkstemp creates the file exclusively with a unique part after the UTC time stamp, so two runs of one second, also in two processes, get two files. The run writes every report to that file. --resume <report> writes only that file, as before.

A command test starts a second run on its own thread while the first run waits for its model, in one frozen second, and expects two reports. The workflow page states the unique report file.

Closes #4488

Change: openspec/changes/archive/2026-11-11-4488-parallel-eval-verify-runs-share-one/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix labels Nov 11, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The stage_ready row leaves pull request #4534 a draft. It holds the label plan/needs-fix, because the model review of its plan found an open finding. Fix the plan, or remove the label when the finding is no defect.

devops-cli-service Bot and others added 3 commits November 11, 2026 09:39
Two devops roadmap eval verify runs that started in the same second
named one report file, and each atomic write replaced the cases of the
other run. create_store_file in core/repo.py now creates the report
file exclusively with tempfile.mkstemp, after the UTC time stamp of
the run, and the run writes every report to that file.
@dan-petty
dan-petty force-pushed the fix/4488-parallel-eval-verify-runs-share-one branch from e3fb968 to 2d76845 Compare November 11, 2026 10:07
@dan-petty dan-petty changed the title docs(openspec): plan #4488 Give each eval verify run its own report file fix(roadmap): give each eval verify run its own report file Nov 11, 2026
@dan-petty

Copy link
Copy Markdown
Owner

Evidence

uv run devops ci fail-to-pass --base origin/main on 2d768452:

  errored on base: tests.core.test_core_repo (collection failure)
  failed on base: tests.roadmap.stage.test_roadmap_stage_verify_eval::test_two_runs_that_start_in_one_second_keep_their_cases_in_two_reports (AssertionError: assert [['a-first']] == [['a-first'], ['b-second']])
1 failed on base (1 failed and 35 passed in tests/core/test_core_repo.py, tests/roadmap/stage/test_roadmap_stage_verify_eval.py; 1 errored).

On the base, one report file holds only the cases of the run that wrote last. The helper test module cannot import create_store_file on the base. Both tests pass on the branch.

  • uv run devops ci test (the tests that the change reaches): 22744 passed, 2 skipped, in 16 min 15 s.
  • uv run devops openspec check: passed.

Notes

  • This pull request continues the plan branch of the Service. I claimed fix(roadmap): parallel eval verify runs share one report #4488 for an agent, rebased the plan commit, revised the plan and added the fix. The revised plan uses time-machine for the frozen clock, so the helper has no time parameter, and it removes a repeated task. The label plan/needs-fix stays, because my request to remove it was refused. A person can remove it.
  • The command test starts the second run on its own thread. A second run on the thread of the first run fails with RuntimeError('This event loop is already running'), while two processes each have their own event loop.
  • The stage, screen and completeness eval commands are unchanged. They take their stamp at the end of a long run.

@dan-petty
dan-petty marked this pull request as ready for review November 11, 2026 10:38
@dan-petty
dan-petty self-requested a review as a code owner November 11, 2026 10:38
@dan-petty
dan-petty merged commit ad27f2d into main Nov 11, 2026
35 checks passed
@dan-petty
dan-petty deleted the fix/4488-parallel-eval-verify-runs-share-one branch November 11, 2026 11:54
dan-petty pushed a commit that referenced this pull request Nov 11, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.112.0](v0.111.0...v0.112.0)
(2026-11-11)


### Features

* **k8s:** export gateway spans without key metadata
([#4520](#4520))
([7234d71](7234d71))
* **k8s:** set the homelab domain in container env values
([#4608](#4608))
([a3bcf7c](a3bcf7c))
* **telemetry:** send pydantic-ai spans through the exporter seam
([#4538](#4538))
([fcf2a7a](fcf2a7a))


### Bug Fixes

* **ai:** price cached prompt tokens of chat calls
([#4584](#4584))
([f84bbe6](f84bbe6))
* **devcontainer:** stop uv noise lines in agent shells
([#4592](#4592))
([9ba375c](9ba375c))
* **k8s:** delete gateway management bodies from spans
([#4551](#4551))
([b835d3c](b835d3c))
* **k8s:** set the kube context and namespace on devops pods
([#4514](#4514))
([9087b39](9087b39))
* **roadmap:** a refused spec after the archive is a plan defect
([#4549](#4549))
([1db29f7](1db29f7))
* **roadmap:** count and log the reason of a left-out stage item
([#4541](#4541))
([5600179](5600179))
* **roadmap:** default the step ceiling to twice the budget
([#4556](#4556))
([1dfb6c8](1dfb6c8))
* **roadmap:** explain --trace shows the argument digest
([#4526](#4526))
([c92195f](c92195f))
* **roadmap:** explain totals count dropped model events
([#4543](#4543))
([fe0e979](fe0e979))
* **roadmap:** give each eval verify run its own report file
([#4534](#4534))
([ad27f2d](ad27f2d))
* **roadmap:** one event loop and a time limit for decide_all
([#4585](#4585))
([ec51e01](ec51e01))
* **roadmap:** scoped updates send requests with no row scope
([#4531](#4531))
([5f75d25](5f75d25))
* **roadmap:** the caller gate reads an added parameter span
([#4548](#4548))
([1ba07c1](1ba07c1))
* **roadmap:** the implement shell waits for its command
([#4536](#4536))
([571e044](571e044))
* **roadmap:** the module-test and caller gates read imports and calls
([#4490](#4490))
([8a22e82](8a22e82))
* **service:** put trace ids on Service JSON log lines
([#4511](#4511))
([0d7a0d2](0d7a0d2))


### Performance Improvements

* **ai:** keep intake embeddings between CLI runs
([#4546](#4546))
([812871e](812871e))
* **roadmap:** intake reads only the issues that changed
([#4552](#4552))
([7dfd155](7dfd155))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): parallel eval verify runs share one report

1 participant